package com.ag.answergames.controller;

import com.ag.answergames.vo.common.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.web.bind.annotation.*;

/**
 * @Author:Doteon
 * @createDate:2023/4/13
 * @version: 1.0
 */
@RestController
@RequestMapping("back/message")
@Api(value = "测试接口", tags = "消息推送接口")
public class MessagePushController {
    @PostMapping(value = "weChatPush")
    @ApiOperation(value = "微信推送", notes = "微信推送")
    public Result<String> weChatPush(@ApiParam(name = "用户Id",value = "微信推送时提供用户Id",required = true) @RequestParam Long userId){
        return null;
    }

    @PostMapping(value = "smsPush")
    @ApiOperation(value = "短信推送", notes = "短信推送")
    public Result<String> smsPush(@ApiParam(name = "用户Id",value = "短信推送时提供用户Id",required = true) @RequestParam Long userId){
        return null;
    }
}
